#ifndef __INTERFACE_HX710_H__
#define __INTERFACE_HX710_H__

#include "stm32f10x.h"
#include "Driver_GPIOC.h"
#include "Common_Delay.h"

#define ADSK_HIGH (GPIOC->ODR |=  GPIO_ODR_ODR6)
#define ADSK_LOW  (GPIOC->ODR &= ~GPIO_ODR_ODR6)
#define READ_ADDO (GPIOC->IDR & GPIO_IDR_IDR7)


//初始化HX710模块
void Interface_HX710_Init(void);

//获取HX710模块输出的数字结果(气压值)
uint32_t Interface_HX710_GetValue(void);

#endif /* __INTERFACE_HX710_H__ */
